package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文件管理对象 record_file
 *
 * @author admin
 * @date 2022-03-02
 */
public class RecordFile extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long fileId;

    /**
     * 预留字段6，创建人ID
     */
    @Excel(name = "创建人ID(必填项)")
    private Long objInt6;

    /**
     * 案卷ID(外键)
     */
    @Excel(name = "案卷ID(必填项)")
    private String archivesId;

    /**
     * 顺序号
     */
    @Excel(name = "顺序号")
    private String sequenceNum;

    /**
     * 文件编号
     */
    @Excel(name = "文件编号")
    private String fileNo;

    /**
     * 文件题名
     */
    @Excel(name = "文件题名(必填项)")
    private String docTitle;

    /**
     * 预留字段1, 责任者
     */
    @Excel(name = "责任者")
    private String objStr1;

    /**
     * 页数
     */
    @Excel(name = "页数")
    private Long pageCounts;

    /**
     * 页号
     */
    @Excel(name = "页号")
    private Long pageNo;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 文件存储路径
     */
    private String filePath;

    /**
     * 图片存储路径
     */
    private String imgPath;

    /**
     * 文件后缀名
     */
    private String fileExt;

    /**
     * 预留字段2，档号
     */
    @Excel(name = "档号")
    private String objStr2;

    /**
     * 预留字段3，文图号
     */
    @Excel(name = "文图号")
    private String objStr3;

    /**
     * 预留字段4，载体类型
     */
    @Excel(name = "载体类型")
    private String objStr4;

    /**
     * 预留字段5
     */
    private String objStr5;

    /**
     * 预留字段7
     */
    private Long objInt7;

    /**
     * 预留字段8
     */
    private Long objInt8;

    /**
     * 预留字段9
     */
    private Long objInt9;

    /**
     * 预留字段10
     */
    private Long objInt10;

    // 案卷对象 archives_id
//    @Excels({
//            @Excel(name = "案卷ID", targetAttr = "archivesId", type = Excel.Type.EXPORT),
//            @Excel(name = "案卷题名", targetAttr = "caseFileTitle", type = Excel.Type.EXPORT),
//    })
    private RecordArchives archives;
    //专门的案
    private RecZmPaperManagement zmPaperManagement;


    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public RecordArchives getArchives() {
        return archives;
    }

    public void setArchives(RecordArchives archives) {
        this.archives = archives;
    }

    public Long getPageNo() {
        return pageNo;
    }

    public void setPageNo(Long pageNo) {
        this.pageNo = pageNo;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public String getSequenceNum() {
        return sequenceNum;
    }

    public void setSequenceNum(String sequenceNum) {
        this.sequenceNum = sequenceNum;
    }

    public String getFileNo() {
        return fileNo;
    }

    public void setFileNo(String fileNo) {
        this.fileNo = fileNo;
    }

    public String getDocTitle() {
        return docTitle;
    }

    public void setDocTitle(String docTitle) {
        this.docTitle = docTitle;
    }

    public Long getPageCounts() {
        return pageCounts;
    }

    public void setPageCounts(Long pageCounts) {
        this.pageCounts = pageCounts;
    }

    public String getArchivesId() {
        return archivesId;
    }

    public void setArchivesId(String archivesId) {
        this.archivesId = archivesId;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public String getObjStr1() {
        return objStr1;
    }

    public void setObjStr1(String objStr1) {
        this.objStr1 = objStr1;
    }

    public String getObjStr2() {
        return objStr2;
    }

    public void setObjStr2(String objStr2) {
        this.objStr2 = objStr2;
    }

    public String getObjStr3() {
        return objStr3;
    }

    public void setObjStr3(String objStr3) {
        this.objStr3 = objStr3;
    }

    public String getObjStr4() {
        return objStr4;
    }

    public void setObjStr4(String objStr4) {
        this.objStr4 = objStr4;
    }

    public String getObjStr5() {
        return objStr5;
    }

    public void setObjStr5(String objStr5) {
        this.objStr5 = objStr5;
    }

    public Long getObjInt6() {
        return objInt6;
    }

    public void setObjInt6(Long objInt6) {
        this.objInt6 = objInt6;
    }

    public Long getObjInt7() {
        return objInt7;
    }

    public void setObjInt7(Long objInt7) {
        this.objInt7 = objInt7;
    }

    public Long getObjInt8() {
        return objInt8;
    }

    public void setObjInt8(Long objInt8) {
        this.objInt8 = objInt8;
    }

    public Long getObjInt9() {
        return objInt9;
    }

    public void setObjInt9(Long objInt9) {
        this.objInt9 = objInt9;
    }

    public Long getObjInt10() {
        return objInt10;
    }

    public void setObjInt10(Long objInt10) {
        this.objInt10 = objInt10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("fileId", getFileId())
                .append("sequenceNum", getSequenceNum())
                .append("fileNo", getFileNo())
                .append("docTitle", getDocTitle())
                .append("pageCounts", getPageCounts())
                .append("remark", getRemark())
                .append("archivesId", getArchivesId())
                .append("filePath", getFilePath())
                .append("imgPath", getImgPath())
                .append("fileExt", getFileExt())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("objStr1", getObjStr1())
                .append("objStr2", getObjStr2())
                .append("objStr3", getObjStr3())
                .append("objStr4", getObjStr4())
                .append("objStr5", getObjStr5())
                .append("objInt6", getObjInt6())
                .append("objInt7", getObjInt7())
                .append("objInt8", getObjInt8())
                .append("objInt9", getObjInt9())
                .append("objInt10", getObjInt10())
                .toString();
    }
}
